package com.yasaka.stock.common;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

public class TTess4jLanguage {
	
	private static final String BUNDLE_NAME = "tess4jlanguage"; 
	private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
	
	public static String getTess4jLanguage(String key) {
		try {
			return RESOURCE_BUNDLE.getString("tess4j.lang."+key);
		} catch (MissingResourceException e) {
			return "";
		}
	}

}
